package com.longsoft.house.common.model;

import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

import java.util.Date;

@Data
public class User {

    private Long id;

    private String email;

    private String phone;

    private String name;

    private String password;

    private String confirmPassword;

    private Integer type;       //1-普通用户 2-经纪人

    private Date createTime;

    private Integer enable;

    private String avatar;

    private MultipartFile avatarFile;

    private String newPassword;

    private String key;

    private Long agencyId;

    private String aboutme;

    private String agencyName;

}
